/*
 * Copyright (C), 2013-2015, 韩伟
 * FileName: BusiConstants.java
 * Author:   weih
 * Date:     2015年4月15日 上午9:09:51
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.cango.qutz.web.common;

/**
 *  业务常量类<br> 
 * 〈功能详细描述〉
 *
 * @author weih
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
public class BusiConstants {
    /**
     * 文件上传根目录
     */
    public static final String UPLOAD_ROOT_PATH="upload";
    
    public static final String MAIL_TEMPLATE_PATH="mailTemplate";
    
    
    
    /**
     * 坐席工作状态：0，未设置；1，上班；2，闲；3，忙；4，下班
     */
    public static final String AGENT_STATUS_UNDEFINED = "0";
    public static final String AGENT_STATUS_DUTYING = "1";
    public static final String AGENT_STATUS_WAITING = "2";
    public static final String AGENT_STATUS_WORKING = "3";
    public static final String AGENT_STATUS_LEAVED = "4";
    

    /**
     * 在线聊天渠道：500030001,电话；500030002，微信；500030003，APP在线;500030004，在线；500030005，APP文本；500030006，邮件
     */
    public static final Integer CHANNEL_PHONE = 500030001;
    public static final Integer CHANNEL_WEICHAT = 500030002;
    public static final Integer CHANNEL_APP = 500030003;
    public static final Integer CHANNEL_ONLINE = 500030004;
    public static final Integer CHANNEL_APP_TEXT = 500030005;
    public static final Integer CHANNEL_MAIL = 500030006;
    
    /**
     * 数据字典类型：50003，客户通信渠道；50004，投诉类型；50005，工单当前状态；50006，工单性质；50007，工单类型；50008品牌代号
     */
    public static final Integer DICT_TYPE_CHANNEL = 50003;
    public static final Integer DICT_TYPE_COMPLAIN_TYPE = 50004;
    public static final Integer DICT_TYPE_BILL_STAT = 50005;
    public static final Integer DICT_TYPE_BILL_QLTY = 50006;
    public static final Integer DICT_TYPE_BILL_TYPE = 50007;
    public static final Integer DICT_TYPE_BRAND_CODE = 50008;
    /**
     * 投诉类型：500040001，服务态度问题；500040002，运送错误；500040003，运送延误；500040004，质(货)损问题；
     */
    public static final Integer COMPLAIN_TYPE_SERVICE = 500040001;
    public static final Integer COMPLAIN_TYPE_WRONG = 500040002;
    public static final Integer COMPLAIN_TYPE_DELAY = 500040003;
    public static final Integer COMPLAIN_TYPE_PRODUCT = 500040004;
    
    /**
     * 工单当前状态：500050001，受理；500050002，待处理工单；500050003，处理；500050004，反馈；500050005，受理结束；500050006，评价；
     */
    public static final Integer BILL_STAT_ACCEPT = 500050001;
    public static final Integer BILL_STAT_ASSIGN = 500050002;
    public static final Integer BILL_STAT_HANDLE = 500050003;
    public static final Integer BILL_STAT_FEEDBACK = 500050004;
    public static final Integer BILL_STAT_FINISH = 500050005;
    public static final Integer BILL_STAT_APPRAISE = 500050006;
    
    /**
     * 工单性质：500060001：现结工单；500060002：待处理工单；
     */
    public static final Integer BILL_QLTY_FINISHED = 500060001;
    public static final Integer BILL_QLTY_UNFINISHED = 500060002;
    
    /**
     * 工单类型：500070001：一般查询；500070002：问题查询；500070003，投诉工单；500070004，其他工单；
     */
    public static final Integer BILL_TYPE_NORMAL_QUERY = 500070001;
    public static final Integer BILL_TYPE_QUESTION_QUERY = 500070002;
    public static final Integer BILL_TYPE_COMPLAIN = 500070003;
    public static final Integer BILL_TYPE_OTHER = 500070004;
    
    /**
     * 计算用数字
     */
    public static final Integer MATH_ONE = 1;
    public static final Integer MATH_NINE = 9;
    public static final Integer MATH_ONE_HUNDRED = 100;

    /**
     * 操作标识,1代表新增,2代表修改
     */
    public static final Integer OPERATE_ADD = 1;
    public static final Integer OPERATE_EDIT = 2;


    // 因为没有其他企业私钥 只能用chehaoyun测试用
    //public static final String ENTERPRISE_CODE_BITAUTO = "anji_20_www.chehaoyun.com";
}
